package com.skywolf.chem.manager.service.impl;

import com.skywolf.chem.manager.entity.SysRegion;
import com.skywolf.chem.manager.mapper.PushMessageMapper;
import com.skywolf.chem.manager.mapper.SysRegionMapper;
import com.skywolf.chem.manager.service.ISysRegionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 地区表 服务实现类
 * </p>
 *
 * @author 
 * @since 2021-09-24
 */
@Service
public class SysRegionServiceImpl extends ServiceImpl<SysRegionMapper, SysRegion> implements ISysRegionService {

    @Autowired
    SysRegionMapper sysRegionMapper;


    @Override
    public List<SysRegion> getRegionList(Long parentId) {
        return sysRegionMapper.getRegionList(parentId);
    }
}
